WP_Defender\Controller\Antibot_Global_Firewall A

Total Complexity 74
Dependencies 14
Dependents 3
Total lines 643
Lines of code 410
Logical lines of code 143
Comment lines 168
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
save_settings()
B
37 16 78
handle_download_and_store_blocklist()
A
53 9 21
data_frontend()
A
44 7 42
blocklist_checker_add_ip_to_allowlist()
S
43 5 54
__construct()
S
53 4 23
blocklist_checker_search()
S
49 3 33
maybe_hcm_connection_attempt()
S
61 4 12
sync_state()
S
62 4 12
process_switch_mode()
S
53 3 26
switch_managed_by()
S
53 2 27
blocklist_checker_submit_trusted_ip_form()
S
52 1 31
switch_mode()
S
64 3 10
handle_expired_membership()
S
70 3 6
enqueue_assets()
S
73 2 5
import_data()
S
65 2 9
hide_antibot_notice()
S
76 1 4
to_array()
S
98 1 1
remove_settings()
S
98 1 1
remove_data()
S
67 1 8
export_strings()
S
82 1 3
disconnect_site()
S
74 1 4